package com.xxx;

import java.io.IOException;

/**
 * rpc服务提供方
 */
public class ServiceProvider {

	public static void main(String[] args) throws IOException {
		TestService testService = new TestServiceIpml();
		new RpcImpl().export(testService, 8081); // 将服务暴露到8081端口
	}

}
